package com.kongyz;

/**
 * @author kongyz
 * @date 2018/7/3 21:15
 * @Description: 包含了要被恢复的对象的状态
 */
public class Memento {

    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
